package com.miukoo.aikao.qmanage.api.v1;

import com.miukoo.aikao.core.pojos.Question;

import java.util.List;

/**
 * 问题夸模块查询API
 * @Author miukoo<miukoo@126.com>
 * @Date 2020/11/20  
 * @Version 1.0
 */
public interface QuestionApi {


    /**
     * 依据id查询
     * @param id
     * @return
     */
    Question findById(Long id);


    public List<Question> listByRandom(Long repoId, Short type, Short level, List<String> excludes, Short size);
}
